/* --------------------------------------------------------------------------------------------
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for license information.
 * ------------------------------------------------------------------------------------------ */
'use strict'

export function string(value: any): value is string {
  return typeof value === 'string' || value instanceof String
}

export function number(value: any): value is number {
  return typeof value === 'number' || value instanceof Number
}
